FROM daocloud.io/library/php:7.2-fpm
LABEL maintainer="wangpiaohua@163.com"

# set timezome
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

WORKDIR /data

# Write Permission
RUN usermod -u 1000 www-data

# mac
#RUN usermod -u 1000 www-data && usermod -G staff www-data
